package cn.bdqn.dao.impl;

import cn.bdqn.dao.NewsCategoryDao;
import cn.bdqn.pojo.NewsCategory;

public class TestNewsCategoryDao {
	
	public static void main(String[] args) {
		
		//通过实例化接口实现类，初始化接口
		NewsCategoryDao newsCategoryDao = new NewsCategoryDaoImpl();
		
		NewsCategory newsCategory = new NewsCategory();
		newsCategory.setId(1);
		newsCategoryDao.delNewsCategory(newsCategory);
		
	}
}
